
 /** 
 * Project Name:b2b-common-dto 
 * File Name:TransferReq.java 
 * Package Name:com.umpay.dto.merAccess.req.transfer 
 * Date:2018年3月21日下午5:13:03 
 * Copyright (c) 2018, xmfsmasara@163.com.com All Rights Reserved. 
 * 
*/  
  
package com.umpay.dto.merAccess.req.transfer;

 import com.umpay.annotation.Pattern;
 import com.umpay.dto.merAccess.req.CommonReq;
 import org.hibernate.validator.constraints.NotEmpty;

/** 
 * ClassName:TransferReq <br/> 
 * Function: TODO ADD FUNCTION. <br/> 
 * Reason:   TODO ADD REASON. <br/> 
 * Date:     2018年3月21日 下午5:13:03 <br/> 
 * @author   wangpengbo 
 * @version   
 * @see       
 */
public class TransferReq  extends CommonReq{
	
	

	
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message = "商户订单号格式不正确")
	private String order_id; // 商户订单号
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message = "商户订单日期格式不正确")
	private String mer_date; // 商户订单日期
	@NotEmpty(message = "金额不能为空")
	@Pattern(message = "金额格式不正确")
	private String amount; // 转账金额
	@NotEmpty(message = "通知地址为空")
	@Pattern(message = "后台通知地址格式不正确")
	private String notify_url; //  后台通知地址
	@NotEmpty(message = "转账方用户号不能为空")
	@Pattern(message = "转账方用户号格式不正确")
	private String out_user_id;
	//@NotEmpty(message = "转账方账户类型为空")
	@Pattern(message = "转账方账户类型格式不正确")
	private String out_acc_type;
	@NotEmpty(message = "收款方用户号为空")
	@Pattern(message = "收款方用户号格式不正确")
	private String in_user_id;
	//@NotEmpty(message = "收款方账户类型为空")
	@Pattern(message = "收款方账户类型格式不正确")
	private String in_acc_type;
	
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public String getMer_date() {
		return mer_date;
	}
	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public String getNotify_url() {
		return notify_url;
	}
	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}
	public String getOut_user_id() {
		return out_user_id;
	}
	public void setOut_user_id(String out_user_id) {
		this.out_user_id = out_user_id;
	}
	public String getOut_acc_type() {
		return out_acc_type;
	}
	public void setOut_acc_type(String out_acc_type) {
		this.out_acc_type = out_acc_type;
	}
	public String getIn_user_id() {
		return in_user_id;
	}
	public void setIn_user_id(String in_user_id) {
		this.in_user_id = in_user_id;
	}
	public String getIn_acc_type() {
		return in_acc_type;
	}
	public void setIn_acc_type(String in_acc_type) {
		this.in_acc_type = in_acc_type;
	}
	@Override
	public String toString() {
		return "TransferReq [order_id=" + order_id + ", mer_date=" + mer_date + ", amount=" + amount + ", notify_url="
				+ notify_url + ", out_user_id=" + out_user_id + ", out_acc_type=" + out_acc_type + ", in_user_id="
				+ in_user_id + ", in_acc_type=" + in_acc_type + ", mer_id=" + mer_id + ", version=" + version + "]";
	}
	
}
  